﻿<Window x:Class="CPPEI.BD.VideoMatrixConfigTool.VideoMatrixWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="VideoMatrixWindow" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <Label Content="方案名称:" Margin="2"/>
            <TextBox x:Name="_ctlSolutionName" Text="{Binding Path=Name,Mode=OneWay}" Width="200" Margin="2"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <Label Content="方案说明:" Margin="2"/>
            <TextBox x:Name="_ctlSolutionCaption" Text="{Binding Path=Caption,Mode=OneWay}" Width="200" Margin="2"/>
        </StackPanel>
        <Label Content="视频源:" Grid.Row="2" Margin="2"/>
        <WrapPanel x:Name="_ctlWrapPanelVideo" Orientation="Horizontal" Grid.Row="3">
            <RadioButton GroupName="1" Content="1"/>
        </WrapPanel>
        <Label Content="矩阵源:" Grid.Row="4" Margin="2"></Label>
        <WrapPanel x:Name="_ctlWrapPanelMatrix" Orientation="Horizontal" Grid.Row="5">
            <RadioButton GroupName="1" Content="1"/>
            
        </WrapPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="6" HorizontalAlignment="Right">
            <Button x:Name="_ctlBtnSave" Click="_ctlBtnSave_Click" Content="保存" Width="50" Margin="2"/>
            <Button x:Name="_ctlBtnCanle" Click="_ctlBtnCanle_Click" Content="取消" Width="50" Margin="2"/>
        </StackPanel>
    </Grid>
</Window>
